for_obj = "测试字符串"
for i in for_obj:
    print(i, end=" ")

print()

for_obj = ["元素1", "元素2", "元素3"]
for i in for_obj:
    print(i, end=" ")

print()

for_obj = ["元素1", "元素2", "元素3"]
for i in range(len(for_obj)):
    print(for_obj[i], end=" ")










